//
//  DMRLog.h
//  DMRLog
//
//  Created by Riven on 2025/10/26.
//

#import <Foundation/Foundation.h>

//! Project version number for DMRLog.
FOUNDATION_EXPORT double DMRLogVersionNumber;

//! Project version string for DMRLog.
FOUNDATION_EXPORT const unsigned char DMRLogVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <DMRLog/PublicHeader.h>

#define DMRLogWarning(message, ...) [DMRLog logOCWarning: [NSString stringWithFormat: message, ##__VA_ARGS__] file:[NSString stringWithUTF8String:__FILE__] function:[NSString stringWithUTF8String:__FUNCTION__] line:__LINE__]
#define DMRLogInfo(message, ...) [DMRLog logOCInfo: [NSString stringWithFormat: message, ##__VA_ARGS__] file:[NSString stringWithUTF8String:__FILE__] function:[NSString stringWithUTF8String:__FUNCTION__] line:__LINE__]
#define DMRLogDebug(message, ...) [DMRLog logOCDebug: [NSString stringWithFormat: message, ##__VA_ARGS__] file:[NSString stringWithUTF8String:__FILE__] function:[NSString stringWithUTF8String:__FUNCTION__] line:__LINE__]
#define DMRLogVerbose(message, ...) [DMRLog logOCVerbose: [NSString stringWithFormat: message, ##__VA_ARGS__] file:[NSString stringWithUTF8String:__FILE__] function:[NSString stringWithUTF8String:__FUNCTION__] line:__LINE__]
#define DMRLogError(message, ...) [DMRLog logOCError: [NSString stringWithFormat: message, ##__VA_ARGS__] file:[NSString stringWithUTF8String:__FILE__] function:[NSString stringWithUTF8String:__FUNCTION__] line:__LINE__]
